[autumn@luna t1]$ cat t1.cs
using System;
class Class1
{
[STAThread]
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
[autumn@luna t1]$ mcs t1.cs
Compilation succeeded
[autumn@luna t1]$ ls
t1.cs t1.exe
[autumn@luna t1]$ mono t1.exe
Hello World!
[autumn@luna t1]$